from django.urls import path
from . import views

app_name = 'carts'
urlpatterns = [
    path('carts/', views.CartView.as_view(),name='carts'),# 添加购物车，展示购物车，删除购物车、更新购物车
    path('carts/selection/', views.SelectAllView.as_view(),name='select_all'),# 购物车全选
    path('carts/simple/', views.CartsSimpleView.as_view(),name='carts_simple'), # 列表页，详情页，主页中简单购物车
]
